package com.gzy.rpsm_property.service;

import com.gzy.rpsm_property.mapper.UserMapper;
import com.gzy.rpsm_property.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public int changeUserStatus(User user) {
        return userMapper.changeUserStatus(user);
    }

    @Override
    public User queryById(Integer id) {
        return userMapper.queryById(id);
    }
}
